﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DFW;

namespace DarumaFramework_CSharp
{
    public partial class FR_FISCAL_iRGAbrirIndice_ECF_Daruma : Form
    {
        public FR_FISCAL_iRGAbrirIndice_ECF_Daruma()
        {
            InitializeComponent();
        }

        private void BT_Fechar_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void BT_Enviar_Click(object sender, EventArgs e)
        {
            int Int_Indice_Relatorio_Gerencial;

            Int_Indice_Relatorio_Gerencial = Convert.ToInt32(TB_Indice_Relatorio_Gerencial.Text.Trim());

            Declaracoes.iRetorno = Declaracoes.iRGAbrirIndice_ECF_Daruma(Int_Indice_Relatorio_Gerencial);
            Declaracoes.TrataRetorno(Declaracoes.iRetorno);

        }
    }
}
